import TaskGoodsDetail from './OneCheckDetail'
import { StoreState } from '../../redux/Types'
import { connect } from 'react-redux'

export function mapStateToProps({ oneCheck: { record }, setting: { scores,layou },global: { sample, sampleImgs } }: StoreState) {
  return {
    record,
    scores,
    sample,
    sampleImgs,
    layou
  }
}
export default connect(mapStateToProps)(TaskGoodsDetail)